/**
 * Copyright (c) 2010-2011 Pierre Labatut
 *
 * This file is part of Space-Chronicles project.
 *
 * Space-Chronicles is free software: you can redistribute it and/or modify it
 * under the terms of its license which may be found in the accompanying
 * LICENSE file or <http://code.google.com/p/space-chronicles/>.
 */

package space.app.skyview;

import jinngine.math.Matrix4;
import space.model.Camera;

/**
 *
 * @author Pierre
 */
class MouseCamera implements Camera {    
    float fovy;
    
    MouseCamera(float fovy) {
        this.fovy=fovy;
    }

    public Matrix4 viewpoint() {
        throw new RuntimeException();
    }

    public double fovy() {
        return fovy;
    }

    public double near() {
        return .1;
    }

    public double far() {
        return 300;
    }

    void setFov(float fov) {
        this.fovy=fov;
    }

}
